package com.departmentstore.service;

import com.departmentstore.entity.Employee;
import java.util.List;

public interface EmployeeService {
    // 创建新员工
    Employee createEmployee(Employee employee);
    
    // 更新员工信息
    Employee updateEmployee(Employee employee);
    
    // 删除员工
    void deleteEmployee(String employeeId);
    
    // 根据ID获取员工
    Employee getEmployeeById(String employeeId);
    
    // 获取所有员工
    List<Employee> getAllEmployees();
    
    // 根据部门ID获取员工列表
    List<Employee> getEmployeesByDepartmentId(String departmentId);
    
    // 根据姓名查找员工
    List<Employee> getEmployeesByName(String name);

} 